package com.dmwork.service.message.feign;


import com.dmwork.service.message.feign.impl.CustomerFeignServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Service
@FeignClient(value = "service-customer-center", fallback = CustomerFeignServiceFallback.class)
public interface CustomerFeignService {

    /**
     * 获取用户所有的粉丝用户id列表
     * @param customerId
     * @return
     */
    @GetMapping("/front/dm_work/customer/customer_follower/get_follower_id_list/{customerId}")
    List<String> getFollowerIdList(@PathVariable("customerId") String customerId);

}
